af_vpn_active_session_count_l2

Configuration for AF VPN Session Report table for Level 1 resource.

Read/write properties

ctnsappname<String>

AppName.
Maximum length = 255

session_count<Integer>

Active Session count.

appname<String>

Application Name..
Maximum length = 128

region_name<String>

Region Name.
Maximum length = 128

country_name<String>

Country Name.
Maximum length = 128

rpt_sample_time<Double>

Report Sample time..

ip_address<String>

Field to store the ip address as it is along with any extension.
Maximum length = 512

username<String>

User Name..
Maximum length = 128

city_name<String>

City Name.
Maximum length = 128

exporter_id<Double>

Exporter ID.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/af_vpn_active_session_count_l2

Query-parameters:

HTTPS Method:GET

HTTPS Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "af_vpn_active_session_count_l2":[{
      "ctnsappname":<String_value>,
      "session_count":<Integer_value>,
      "appname":<String_value>,
      "region_name":<String_value>,
      "country_name":<String_value>,
      "rpt_sample_time":<Double_value>,
      "ip_address":<String_value>,
      "username":<String_value>,
      "city_name":<String_value>,
      "exporter_id":<Double_value>}]}